fmt.fmt.wid (field)
21 uses
fmt (current package)
format.go#L46: wid int // width
format.go#L91: if !f.widPresent || f.wid == 0 {
format.go#L95: width := f.wid - utf8.RuneCount(b)
format.go#L109: if !f.widPresent || f.wid == 0 {
format.go#L113: width := f.wid - utf8.RuneCountInString(s)
format.go#L205: width := 3 + f.wid + f.prec // wid and prec are always positive.
format.go#L222: f.writePadding(f.wid)
format.go#L227: prec = f.wid
format.go#L395: f.writePadding(f.wid)
format.go#L400: if f.widPresent && f.wid > width && !f.minus {
format.go#L401: f.writePadding(f.wid - width)
format.go#L429: if f.widPresent && f.wid > width && f.minus {
format.go#L430: f.writePadding(f.wid - width)
format.go#L583: if f.zero && f.widPresent && f.wid > len(num) {
format.go#L585: f.writePadding(f.wid - len(num))
print.go#L184: func (p *pp) Width() (wid int, ok bool) { return p.fmt.wid, p.fmt.widPresent }
print.go#L1093: p.fmt.wid, p.fmt.widPresent, argNum = intFromArg(a, argNum)
print.go#L1101: if p.fmt.wid < 0 {
print.go#L1102: p.fmt.wid = -p.fmt.wid
print.go#L1108: p.fmt.wid, p.fmt.widPresent, i = parsenum(format, i, end)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |